package tsing.javase.designpattern.responsibilityChain.responseChain2.response;

import java.util.List;

/**
 * @Author Tsing/吴清平
 * @Date 2022/11/3 14:43
 * @Version 1.0
 */

public class PiepleService {

    private List<BusiProcess> templateConfig = null;

    public List<BusiProcess> getTemplateConfig() {
        return templateConfig;
    }

    public void setTemplateConfig(List<BusiProcess> templateConfig) {
        this.templateConfig = templateConfig;
    }

    public void  method(){
        for (BusiProcess busiProcess : templateConfig) {
            busiProcess.process();
        }
    }
}
